from typing import List

from pydantic import BaseModel


class IDModelMixin(BaseModel):
    id: int


class Create(BaseModel):
    name_zh: str
    name_ug: str
    sid: int
    price: str


class Update(BaseModel):
    name_zh: str
    name_ug: str
    quantity: int
    price: str
